<?php

namespace app\admin\model\system;

use think\Model;


/**
 * Files
 */
class Files extends Model
{
    // 表名
    protected $name = 'system_files';

    // 自动写入时间戳字段
    protected $autoWriteTimestamp = true;
    protected $updateTime = false;



    public function category(){
        return $this->hasOne("app\\admin\\model\\system\\files\\Category", "id", "category_id");
    }

}